﻿#region Using

using Microsoft.VisualStudio.TestTools.UnitTesting;

#endregion

namespace GameLogic.Test
{
    [TestClass]
    public class GameFunctionTest
    {
        ////private readonly Player player1 = new Player("Player1");

        ////private readonly Player player2 = new Player("Player2");

        ////private Game game;

        ////[TestMethod]
        ////public void IsUpdateWorking()
        ////{
        ////    var nextPosition = new Position(this.game.TestPosition.X, this.game.TestPosition.Y);
        ////    try
        ////    {
        ////        nextPosition.X++;
        ////    }
        ////    catch (Exception)
        ////    {
        ////        nextPosition.X--;
        ////    }

        ////    var result = this.game.ReceiveCommand(new MilitiaRouteAddCommand(this.game.TestPosition, nextPosition, this.player1));
        ////    while (true) { this.game.Update(); }
        ////}

        ////[TestInitialize]
        ////public void SetUp()
        ////{
        ////    var playerStack = new Stack<Player>();
        ////    playerStack.Push(this.player1);
        ////    playerStack.Push(this.player2);
        ////    this.game = new Game(playerStack);
        ////    this.game.Start();
        ////}

        ////[TestCleanup]
        ////public void TearDown()
        ////{
        ////}
    }
}